package de.dhbw.karlsruhe.picsim.gui.renderer;

import de.dhbw.karlsruhe.picsim.gui.data.OpCodeGui;

import javax.swing.*;

/**
 * Created by IntelliJ IDEA.
 * User: goesen
 * Date: Apr 15, 2010
 * Time: 10:10:33 AM
 */
public final class ProgramMemoryNumberRenderer extends ProgramRenderingSupport {


    @Override
    protected JComponent getRenderingComponent(final OpCodeGui opcode, final JTable jtable, final int row,
                                               final int column) {
        setText(String.valueOf(opcode.getAddress()));


        return this;
    }
}
